# -*- coding: utf-8 -*-
# @Time : 2022/6/1 20:26
# @Author : 王森
# @Email : wayne_lau@aliyun.com
# @File : url.py
# @Project : code
from flask_restful import fields

comment_fields = {
    "id": fields.Integer,
    "uid": fields.Integer(attribute='user'),
    "course": fields.Integer,
    "create_time": fields.DateTime,
    "update_time": fields.DateTime,
    "content": fields.String
}